package service;

import entity.Book;
import util.PageHelper;

import java.util.List;

/**
 * User: key
 * ClassName:BookService
 * Date: 2023/5/5
 * Time: 18:50
 * description:
 */
public interface BookService {
    boolean insertBook(Book b);

    Book getOneById(int id);

    boolean delBook(int id);

    PageHelper getByPage(int pageNum, int i);

    List<Book> getAll();
}
